/**
 * @file    uart_config.h
 *
 * @author  Li.Hua <lihua_338@163.com>.
 *
 * @date    2017-03-01
 *
 * @brief
 *
 * @note
 *
 * Modification history
 * ----------------------------------------------------------------------------
 * Date         Version  Author       History
 * ----------------------------------------------------------------------------
 *
 */

#ifndef UART_CONFIG_H
#define UART_CONFIG_H

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#if defined(CFG_PC_SIMULATE)
#include "fcntl.h"
#endif


int tty_property_config(int fd, int baudrate, int databits, int parity, int stopbits, int flow);

#ifdef __cplusplus
}
#endif /* __cplusplus */


#endif /* UART_CONFIG_H */


